<?php
/**
 * @name property_group_type.php
 * @copyright (c) 2011
 * @author Amissah Gideon <kuulmek@yahoo.com>
 */
class PropertyGroupType extends AppModel {
	var $name = 'PropertyGroupType';
    
    var $hasMany = array(
		'PropertyGroupSubType' => array(
			'className' => 'PropertyGroupSubType',
			'foreignKey' => 'property_group_type_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		),
        'Bill' => array(
			'className' => 'Bill',
			'foreignKey' => 'property_group_type_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		),
        'PropertyItem' => array(
			'className' => 'PropertyItem',
			'foreignKey' => 'property_group_type_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		)
	);
    
    var $belongsTo = array(
        'PropertyGroup' => array(
            'className' => 'PropertyGroup',
            'foreignKey' => 'property_group_id',
            'conditions' => '',
            'order' => '',
            'limit' => '',
            'dependent' => true
        )
    );

}
?>
